﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_Index_Left.aspx.cs"
    Inherits="V5_EShop.Admin.Admin_Index_Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>无标题页</title>
    <link href="../CSS/Admin/1/Admin_CSS.css" rel="Stylesheet" />
    <script type="text/javascript" src="../Scripts/jquery_min.js"></script>
    <style type="text/css">
        ul, li
        {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .menulist
        {
            width: 158px;
            margin: 2px auto;
        }
        .menulist a
        {
        }
        .menulist li
        {
            padding: 0 0 0 0px;
            margin: 0 0 5px 0;
        }
        .menulist h6
        {
            padding: 0;
            margin: 0;
            padding-left: 13px;
            background: url(../CSS/Admin/1/ico_treeroot.gif) no-repeat 0 5px;
            width: 158px; /*color: #215dc6;*/
            border-top-style: none;
            border-right-style: none;
            border-left-style: none;
            height: 25px;
            border-bottom-style: none;
            line-height: 25px;
            font-size: 13px;
            cursor: pointer;
        }
        .menulist li ul
        {
            border-left: 1px solid white;
            border-right: 1px solid white;
            border-bottom: 1px solid white;
            overflow: hidden; /*background: #D6DFF7;*/
            vertical-align: top;
            padding-top: 3px;
            padding-left: 10px;
        }
        .menulist li ul li
        {
            border: none;
            height: 22px;
            line-height: 22px; /*color: #666;*/
            padding: 0 0 0 15px;
            background: url(../CSS/Admin/1/ico_treenode.gif) no-repeat 2px 3px;
        }
        .menulist li ul li a
        {
            color: #000;
        }
        .menulistlist
        {
        }
        .menulistlist li
        {
            margin: 0 0 0 10px;
        }
    </style>
    <script type="text/javascript">
        $(function () {
            $('.menulist li ul').hide().filter(':first').show();
            $('h6').filter(':even:first').addClass('active'); //活动
            $('h6').click(function () {
                if ($(this).next().is(':visible')) {
                    return $('.menulist li ul').slideUp().prev().removeClass('active');
                }
                if ($(this).next().is(':hidden')) {
                    $('.menulist li ul').slideUp().prev().removeClass('active');
                    $(this).addClass('active').next().slideDown();
                }
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table width="165" height="29" border="0" cellpadding="0" cellspacing="0" class="menuq">
        <tr>
            <td width="26" rowspan="2" align="center">
                <img src="css/menu_dot1.gif" width="8" height="11" border="0" alt="展开/隐藏" id="arrow_2" />
            </td>
            <td height="2">
            </td>
            <td width="50" rowspan="2" align="center">
            </td>
        </tr>
        <tr>
            <td width="101" align="left" class="Lion_menu_2" style="cursor: pointer;" onclick="show_hide('profile_2', 'arrow_2')">
                功能导航
            </td>
        </tr>
    </table>
    <div class="menulistlist">
        <asp:Literal ID="menu1" runat="server"></asp:Literal>
    </div>
    </form>
    <script language="javascript" type="text/ecmascript">
        function show_hide(DivID, ImgID) {
            if (document.getElementById(DivID).style.display == '') {
                document.getElementById(DivID).style.display = 'none';
                document.getElementById(ImgID).src = 'css/menu_dot.gif';
            }
            else {
                document.getElementById(DivID).style.display = '';
                document.getElementById(ImgID).src = 'css/menu_dot1.gif';
            }
        }
    </script>
</body>
</html>
